home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / file-tra / fsp-2.7 / fsp-2 / fsp / example.conf < prev    next >
Encoding:
Text File  |  1993-04-24  |  5.1 KB  |  131 lines

  1. # This is an example fspd.conf file.  Copy it and edit it to suit your tastes.
  2.  
  3. # The 'conf' command allows a global file to read local files so that
  4. # multiple users at a site can use the same central fspd file.
  5. #
  6. # conf .fspd.conf
  7.  
  8. # The 'readme' commands specifies the name of the local readme file
  9. # for each directory.  If no readme command is given, the readme file
  10. # defaults to .README
  11. #
  12. # readme .README
  13.  
  14. # The usecachedir command tells the server if it's going to be using a 
  15. # cache directory on if it will be relying on .FSP_CONTENT files instead.
  16. # it accepts the parameters 'on' or 'off'
  17. #
  18. usecachedir on
  19.  
  20. # The 'cachedir' command controls where the server thinks the cache
  21. # directory is located if the usecachedir command is set to 'on'.
  22. # This directory can be relative to the home directory or an absolute
  23. # path.
  24. #
  25. cachedir ../cache
  26.  
  27. # The 'homedir' command tells the server where it's ROOT directory is. 
  28. # This directory must be given as an absolute path.
  29. #
  30. homedir /usr/fsp/data
  31.  
  32. # The 'logfile' command tells the server where to log things too if
  33. # logging is enabled.
  34. # It can be a relative path from the fspd home directory or an absolute
  35. # path.
  36. # it must include the filename.
  37. #
  38. logfile ../logs/logfile
  39.  
  40. # The 'log' command specifies the type of logging that should be performed.
  41. # The log command takes the following options
  42. # 'none' or any of 'all', '(!)errors', '(!)version', '(!)getdir',
  43. # '(!)getfile', '(!)upload', '(!)install', '(!)delfile', '(!)deldir',
  44. # '(!)setpro', '(!)getpro', '(!)makedir', '(!)grabfile'.
  45. # logging of 'all' will include logging of errors.
  46. # for example:
  47. # log all !errors -- will log all commands sent, but no error messages.
  48. # log all !getdir -- will log all commands except getdir and all errors
  49. #                    EXCEPT those that occured on a getdir command.
  50. # log install getfile errors -- will log all install and getfile commands
  51. #                    as well as any errors that occur on ONLY those commands.
  52. # If no log command is given, logging will be turned of (same as 'log none')
  53. #
  54. log all
  55.  
  56. # The 'port' command specifies which port the fspd server is to listen two.
  57. # This is NOT needed if running under inetd, but otherwise is required.
  58. #
  59. # port 21
  60.  
  61. # The 'thruput' command is used to specify the thruput control in avg # of
  62. # bytes per second that the server will allow.  Use 'thruput off' to specify
  63. # no thruput control.  A negative value or zero will also shut off thruput
  64. # control.  If this command is not given, it acts like 'thruput off'
  65. #
  66. # thruput off
  67.  
  68. # The 'setuid' command is used to specify a specific uid under which the
  69. # FSP server will run.  Use 'setuid off' or 'setuid 0' in order to not
  70. # attempt to perform a setuid.  If this command is not given, it acts like
  71. # 'setuid off'
  72. #
  73. # setuid off
  74.  
  75. # The 'daemonize' command specifies whether the fspd should fork itself into
  76. # the background when started up.  The only acceptable values are 'on' or
  77. # 'off'.  If this command isn't given, it acts like 'daemonize off'.
  78. #
  79. # daemonize off
  80.  
  81. # The 'debug' command specifies whether the server should write debugging
  82. # output to stderr while it is running. The only acceptable values are 'on'
  83. # or 'off'.  If this command is never given, it acts like 'debug off'.
  84. #
  85. # debug off
  86.  
  87. # The 'restricted' command specifies whether the server is run in restricted
  88. # mode.  In this case, only hosts enabled via the 'host' command will be 
  89. # able to connect.  The only acceptable values for this command are 'on' or
  90. # 'off'.  If the command isn't given, it acts as 'restricted off'.
  91. #
  92. # restricted off
  93.  
  94. # The 'reverse_name' command specifies if the server refuses connections to
  95. # sites that it cannot reverse lookup.  The only acceptable values for this
  96. # command are 'on' or 'off'.  If the command is not given, it acts like
  97. # 'reverse_name off' by default.
  98. #
  99. # reverse_name off
  100.  
  101. # The 'read_only' command specifies whether the server should ignore any 
  102. # command that would cause a 'write' action on the server.  The commands
  103. # that are refused by this are upload, install, mkdir, deldir, delfile, 
  104. # and setpro.  The only acceptable values for this command are 'on' or 'off'.
  105. # If the command is not given, it acts like 'read_only off'.
  106. #
  107. # read_only off
  108.  
  109. # The 'host' command subsumes the function of the .IPHOSTS file from 
  110. # previous versions.  Each line looks as follows.  (information in []
  111. # is optional)
  112. #   host host_mask [host_type message]
  113. #
  114. # host_mask is either the full numeric or text name of a machine OR
  115. #                     a wildcarded host mask.
  116. #   wildcarded hostmasks look as follows.
  117. #   128.4 - 8.*.* -- (* acts as the range 0 - 255)
  118. #   The above line would affect all hosts of the form 128.4.*.*, 128.5.*.*,
  119. #   128.6.*.*, 128.7.*.* and 128.8.*.*.
  120. #   This sort of host masking is only available with numeric hosts, not with
  121. #   text names.
  122. # host_type is one of D, I, or N.
  123. #   I hosts are ignored, N hosts are treated as normal, and D hosts will
  124. #   get back the error string message given as the third parameter.
  125. #
  126. # If host_type isn't specified, the host is treated as ignored or normal
  127. # depending on the value of restricted.
  128. #
  129. # The following line allows all CMU machines (128.2.*.*) access to a site.
  130. # host 128.2.*.* N This message is useless here.
  131.